/**
 * 2011-3-26下午11:31:13PopUserService.java
 * @author 刘杰 
 */
package com.lyjilu.model.service.impl;

import java.util.List;

import org.springframework.stereotype.Service;

//import com.lyj.model.dao.IPopUserDao;
//import com.lyj.model.entity.PopUser;
import com.lyjilu.model.dao.IPopUserDao;
import com.lyjilu.model.entity.PopUser;
import com.lyjilu.model.service.IPopUserService;

/**
 * @author Administrator
 *
 */
@Service
public class PopUserService implements IPopUserService {
	private IPopUserDao popUserDao;
	/**
	 * @return the popUserDao
	 */
	public IPopUserDao getPopUserDao() {
		return popUserDao;
	}
	/**
	 * @param popUserDao the popUserDao to set
	 */
	public void setPopUserDao(IPopUserDao popUserDao) {
		this.popUserDao = popUserDao;
	}
	/* (non-Javadoc)
	 * @see com.lyj.model.service.IPopUser#queryAll()
	 */
	@Override
	public List<PopUser> queryAll() throws Exception {
		return popUserDao.queryAll();
	}
	/* (non-Javadoc)
	 * @see com.lyj.model.service.IPopUserService#login(java.lang.String)
	 */
	@Override
	public PopUser login(String username){
		return popUserDao.login(username);
	}

}
